{% extends "fronted/base.html" %}

{% block main %}
    <div class="box box-primary">
        <div class="box-header with-border"><h3 class="box-title">发布讨论(in {{ private.board_name }})</h3></div>
        <div class="box-body">
            {% if message %}
                <div class="callout callout-danger">
                    <p>{{ message }}</p>
                </div>
            {% endif %}
            <form action="" method="post">
                <div class="form-group">
                    <label>标题</label>
                    <input type="text" class="form-control"  placeholder="标题" name="title">
                </div>
                <div class="form-group">
                    <label>内容(Markdown支持)</label>
                    <textarea class="form-control" rows="10" name="content" placeholder="内容"></textarea>
                </div>
                <div class="row">
                    <div class="col-xs-4" style="float: left;">
                        <button type="submit" class="btn btn-primary btn-block btn-flat">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
{% endblock %}
